#include "stage.h"
#include<QMessageBox>

stage::stage()
{

}

void stage::init(int row, int col, int type)
{
    _row=row;
    _col=col;
    _type=type;
    isGet=false;
    switch (_type) {
    case 61://红钥匙
        stages.load("://images/22.png");
        break;
    case 62://黄钥匙
        stages.load("://images/10.png");
        break;
    case 63://蓝钥匙
        stages.load("://images/17.png");
        break;
    case 64://蓝血
        stages.load("://images/21.png");
        break;
    case 65://红血
        stages.load("://images/11.png");
        break;
    case 66://蓝宝
        stages.load("://images/16.png");
        break;
    case 67://红宝
        stages.load("://images/12.png");
        break;
    case 68://铁剑
        stages.load("://images/36.png");
        break;
    case 69://铁盾
        stages.load("://images/41.png");
        break;
    case 70://大钥匙
        stages.load("://images/40.png");
        break;
    case 71://小飞羽
        stages.load("://images/43.png");
        break;
    case 72://大金币
        stages.load("://images/49.png");
        break;
    case 73://十字架
        stages.load("://images/24.png");
        break;
    case 74://风沙罗盘
        stages.load("://images/52.png");
        break;
    case 75://青锋剑
        stages.load("://images/53.png");
        break;
    case 76://黄金盾
        stages.load("://images/58.png");
        break;
    case 77://锄头
        stages.load("://images/62.png");
        break;
    case 78://圣水
        stages.load("://images/65.png");
        break;
    case 79://神圣剑
        stages.load("://images/68.png");
        break;
    case 80://神圣盾
        stages.load("://images/69.png");
        break;
    case 81://圣光徽
        stages.load("://images/42.png");
        break;
    }
}
